package com.aspose.cells;

class zbaa {
   int a;
   int b;
   int c;
   boolean d;
   boolean e;
   boolean f;
   boolean g;
   int h;

   zbaa() {
   }

   zbaa(zazv var1) {
      this.a = -1;
      this.c = 32;
      this.h = -1;
   }

   zbaa(zazi var1) {
      this.c = 12;
      this.h = var1.e;
   }

   zbaa(zazp var1) {
      this.a = 194;
      this.c = var1.b ? 34 : 10;
      this.b = var1.B;
      this.d = var1.A;
      this.e = var1.z;
      this.h = -1;
   }

   zbaa(zbab var1) {
      this.a = 1050;
      this.c = 9;
      this.b = var1.e;
      this.d = var1.g;
      this.e = var1.d;
      this.h = var1.f;
   }

   zbaa(zazm var1) {
      this.a = 98;
      this.c = 4;
      this.b = var1.e;
      this.d = var1.h;
      this.e = var1.d;
      this.h = var1.f;
   }

   zbaa(zazu var1) {
      this.a = 540;
      this.b = var1.d;
      this.d = var1.g;
      this.e = var1.c;
      this.h = var1.e;
      switch(var1.h) {
      case 0:
         this.c = 5;
         break;
      case 1:
         this.c = 6;
      }

   }

   zbaa(zazk var1) {
      this.a = 78;
      this.h = var1.m;
      this.c = 13;
   }

   zbaa(zazo var1) {
      this.a = 38;
      this.h = -1;
      switch(var1.c) {
      case 0:
         this.c = 43;
         break;
      case 1:
         this.c = 44;
      }

   }

   zbaa(zazt var1) {
      this.a = 64;
      this.h = var1.h;
      this.b = var1.g;
      switch(var1.b) {
      case 2:
         this.c = 3;
         break;
      case 3:
         this.c = 2;
         break;
      case 4:
         this.c = 1;
         break;
      case 5:
         this.c = 0;
      }

   }

   zbaa(zazq var1) {
      this.a = 44;
      this.h = var1.e;
      this.c = 11;
   }

   zbaa(zazj var1) {
      this.c = 8;
      this.b = var1.k;
      this.d = var1.n;
      this.e = var1.j;
      this.g = false;
      this.h = var1.m;
   }

   void a(zazj var1) {
      this.a = -1;
      var1.k = this.b;
      var1.n = this.d;
      var1.j = this.e;
      var1.m = this.h;
      if (var1.q != null && var1.q.e()) {
         this.a = 72;
      }

   }

   void a(zazm var1) {
      this.a = -1;
      var1.e = this.b;
      var1.h = this.d;
      var1.d = this.e;
      var1.f = this.h;
   }

   int a(byte[] var1) {
      byte var2 = 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.a), 0, var1, var2, 4);
      int var4 = var2 + 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.b), 0, var1, var4, 4);
      var4 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.c), 0, var1, var4, 2);
      var4 += 2;
      int var3 = 0;
      if (this.d) {
         var3 |= 1;
      }

      if (this.e) {
         var3 |= 2;
      }

      if (this.f) {
         var3 |= 4;
      }

      if (this.g) {
         var3 |= 8;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, var1, var4, 2);
      var4 += 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.h), 0, var1, var4, 2);
      var4 += 2;
      return var4;
   }
}
